package com.zhonglz.support.model;

import java.io.File;
import java.math.BigDecimal;
import java.security.PrivateKey;
import java.security.cert.Certificate;

import com.zhonglz.model.BuSignInfo;

/***
 * 签章实体类
 * @author zhonglz
 *
 */
public class SealSignData {
	
	// 签署信息ID
	private String signId;
	
	// 证书密码
	private String certPwd;
	
	// 签名方式
	private String signAlgorithm;
	
	// 总页数
	private Integer pdfPageCount;
	
	// PDF宽度
	private BigDecimal pdfWidth;
	
	// PDF高度
	private BigDecimal pdfHeight;
	
	// 盖章文件页码
	private Integer signPage;
	
	// 盖章位置--x轴
	private BigDecimal pageX;
	
	// 盖章位置--y轴
	private BigDecimal pageY;
	
	
	/*** 后台查询处理的数据 ****/
	// 签署信息
	private BuSignInfo buSignInfo;

	// 证书文件
	private byte[] certFile;
	
	// 签名私钥
	private PrivateKey privateKey;
	
	// 证书链
	private Certificate[] chain;
	
	// 印章文件
	private byte[] sealFile;
	
	// 签署前文件
	private byte[] signFrontFile;
	
	// 签署后文件Uid
	private String signBackFileUid;
	
	// 签署后文件路径
	private String signBackFile;
	
	
	
	
	public String getSignAlgorithm() {
		return signAlgorithm;
	}

	public void setSignAlgorithm(String signAlgorithm) {
		this.signAlgorithm = signAlgorithm;
	}

	public String getSignBackFileUid() {
		return signBackFileUid;
	}

	public void setSignBackFileUid(String signBackFileUid) {
		this.signBackFileUid = signBackFileUid;
	}

	public BigDecimal getPdfWidth() {
		return pdfWidth;
	}

	public void setPdfWidth(BigDecimal pdfWidth) {
		this.pdfWidth = pdfWidth;
	}

	public BigDecimal getPdfHeight() {
		return pdfHeight;
	}

	public void setPdfHeight(BigDecimal pdfHeight) {
		this.pdfHeight = pdfHeight;
	}

	public PrivateKey getPrivateKey() {
		return privateKey;
	}

	public void setPrivateKey(PrivateKey privateKey) {
		this.privateKey = privateKey;
	}

	public Certificate[] getChain() {
		return chain;
	}

	public void setChain(Certificate[] chain) {
		this.chain = chain;
	}

	public String getSignBackFile() {
		return signBackFile;
	}

	public void setSignBackFile(String signBackFile) {
		this.signBackFile = signBackFile;
	}

	public byte[] getCertFile() {
		return certFile;
	}

	public void setCertFile(byte[] certFile) {
		this.certFile = certFile;
	}

	public byte[] getSealFile() {
		return sealFile;
	}

	public void setSealFile(byte[] sealFile) {
		this.sealFile = sealFile;
	}

	public byte[] getSignFrontFile() {
		return signFrontFile;
	}

	public void setSignFrontFile(byte[] signFrontFile) {
		this.signFrontFile = signFrontFile;
	}

	public BuSignInfo getBuSignInfo() {
		return buSignInfo;
	}

	public void setBuSignInfo(BuSignInfo buSignInfo) {
		this.buSignInfo = buSignInfo;
	}

	public String getCertPwd() {
		return certPwd;
	}

	public void setCertPwd(String certPwd) {
		this.certPwd = certPwd;
	}

	public String getSignId() {
		return signId;
	}

	public void setSignId(String signId) {
		this.signId = signId;
	}

	
	public Integer getPdfPageCount() {
		return pdfPageCount;
	}

	public void setPdfPageCount(Integer pdfPageCount) {
		this.pdfPageCount = pdfPageCount;
	}

	public Integer getSignPage() {
		return signPage;
	}

	public void setSignPage(Integer signPage) {
		this.signPage = signPage;
	}

	public BigDecimal getPageX() {
		return pageX;
	}

	public void setPageX(BigDecimal pageX) {
		this.pageX = pageX;
	}

	public BigDecimal getPageY() {
		return pageY;
	}

	public void setPageY(BigDecimal pageY) {
		this.pageY = pageY;
	}

	
}
